package com.example.demo.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.example.demo.order.entity.OOrderManage;
import com.example.demo.order.mapper.OOrderManageMapper;
import com.example.demo.order.service.OOrderManageService;
import com.example.demo.util.result.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 订单表; 服务实现类
 * </p>
 *
 * @author 涛
 * @since 2024-08-01
 */
@Service("oOrderManageService")
public class OOrderManageServiceImpl extends ServiceImpl<OOrderManageMapper, OOrderManage> implements OOrderManageService {

    @Autowired
    private OOrderManageMapper oOrderManageMapper;

    @Override
    public Result<?> getUserResult(String id) {
        return Result.ok(oOrderManageMapper.getUserResult(id));
    }
}
